package org.example.tliaswebmanagement.service;


import org.example.tliaswebmanagement.pojo.Dept;
import org.springframework.stereotype.Component;


import java.util.List;


public interface DeptService {

    List<Dept> list();



    void delete(Integer id) throws Exception;

    void insert(Dept dept);



    Dept getById(Integer id);


    void update(Dept dept);
}
